package com.ls.lserp.modules.material.dao;


import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.material.entity.SlopworkInbound;

/**
 * @ClassName: InventoryRequest
 * @Description: 分类接口
 * 
 * @author 
 * @date 2017年04月14日 
 *
 */

@MyBatisDao
public interface SlopworkInboundDao extends CrudDao<SlopworkInbound>{
	/**
	  * @Title: findRealQuantityList
	  * @Description: 查看画面明细
	  * @param @param slopworkInbound
	  * @param @return
	  * @return List<slopworkInbound> 
	  * @throws
	  */
	public List<SlopworkInbound> findRealQuantityList(SlopworkInbound slopworkInbound);
	/**
	  * @Title: findClothesRequestDetailList
	  * @Description: 查看画面明细
	  * @param @param slopworkInbound
	  * @param @return
	  * @return List<SlopworkInbound> 
	  * @throws
	  */
	public List<SlopworkInbound> findShowRequestDetailList(SlopworkInbound slopworkInbound);
	/**
	  * @Title: getClothesRequest
	  * @Description: 入库申请单
	  * @param @param slopworkInbound
	  * @param @return
	  * @return SlopworkInbound 
	  * @throws
	  */
	public SlopworkInbound getClothesRequest(SlopworkInbound slopworkInbound);
	/**
	  * @Title: findClothesInventoryDetails
	  * @Description: 成衣库存明细
	  * @param @param slopworkInbound
	  * @param @return
	  * @return List<slopworkInbound> 
	  * @throws
	  */
	public List<SlopworkInbound> findClothesInventoryDetails(SlopworkInbound slopworkInbound);

	/**
	  * @Title: findWarehouseList
	  * @Description: 仓库集
	  * @param @return
	  * @return List<SlopworkInbound> 
	  * @throws
	  */
	public List<SlopworkInbound> findWarehouseList();
	/**
	  * @Title: findRackList
	  * @Description: 货架集
	  * @param @param slopworkInbound
	  * @param @return
	  * @return List<SlopworkInbound> 
	  * @throws
	  */
	public List<SlopworkInbound> findRackList(SlopworkInbound slopworkInbound);
	
	/**
	 * 成衣库存基本信息表
	 * @param slopworkInRequest
	 * @return
	 */
	public int insertInventoryClothes(SlopworkInbound slopworkInbound);
	
	/**
	 * 成衣库存明细表
	 * @param slopworkInRequest
	 * @return
	 */
	public int insertInventoryClothesDetail(SlopworkInbound slopworkInbound);
	
	/**
	  * @Title: getInventoryClothes
	  * @Description: 成衣库存
	  * @param @param slopworkInbound
	  * @param @return
	  * @return SlopworkInbound 
	  * @throws
	  */
	public SlopworkInbound getInventoryClothes(SlopworkInbound slopworkInbound);
	
	/**
	  * @Title: updateInventoryClothes
	  * @Description: 更新库存数量
	  * @param @param slopworkInbound
	  * @param @return
	  * @return int 
	  * @throws
	  */
	public int updateInventoryClothes(SlopworkInbound slopworkInbound);
	
	/**
	  * @Title: updateRequestDetailsRealQuantity
	  * @Description: 更新申请明细表实际申请数量
	  * @param @param slopworkInbound
	  * @param @return
	  * @return int 
	  * @throws
	  */
	public int updateRequestDetailsRealQuantity(SlopworkInbound slopworkInbound);
	/**
	  * @Title: updateRequestStatus
	  * @Description: 更新入库申请状态
	  * @param @param slopworkInbound
	  * @param @return
	  * @return int 
	  * @throws
	  */
	public int updateRequestStatus(SlopworkInbound slopworkInbound);
	/**
	 * @Title: findClothesRequestDetailList
	 * @Description: 查看画面明细
	 * @param @param slopworkInbound
	 * @param @return
	 * @return List<SlopworkInbound>
	 * @throws
	 */
	public List<SlopworkInbound> findShowSamplyRequestDetailList(SlopworkInbound slopworkInbound);
}
